<?php
$this->layout='//layouts/1column';
$this->pageTitle=Lang::t('shortlist.category.page.title');
$this->breadcrumbs[]=Lang::t('shortlist.category.page.breadcrumbs');
?>

<h1><?php echo Lang::t('shortlist.category.page.title'); ?></h2>

<?php
$dataProvider->pagination->pageSize = Yii::app()->request->getParam('pageSize_', 10);
$this->widget('ext.extended.ListView', array(
    'dataProvider' => $dataProvider,
    'ajaxUpdate' => false,
    'itemsCssClass' => 'product-catalog-item clear',
    //'pagerCssClass' => 'pager',
    //'dropDownCssClass' => 'dropdownSelector',
    //'summaryCssClass' => '',
    //'sorterCssClass' => '',
    'dropDowns' => array(
        'pageSize' => array(
            'label' => Lang::t('page.lbl.results.per.page'),
            'dropDownVar' => 'pageSize_',
            'cssClass'=>'page-size',
            'default' => Yii::app()->params['defaultPageSize'],
            'items' => array(
                10 => 10,
                20 => 20,
                50 => 50,
            ),
        ),
    ),
    'itemView' => '_categoryView',
    'htmlOptions'=>array(
        'class'=>'shortlist-category'
    ),
));
?>